package lovoStudy_9_8.Game;

/**
 * Created with Intellij IDEA
 * Description:
 *
 * @ return:
 * @ author:zxl
 */
public class GameMain {
    public static void main(String[] args) {
        Doctor doctor = new Doctor("迪迦",1);
        doctor.selfIntroduce();

        Farmer farmer = new Farmer("马瑞红",1);
        farmer.selfIntroduce();

        Hunter hunter = new Hunter("刘海涛",1);
        hunter.selfIntroduce();

        Robber robber = new Robber("奥特曼",1);
        robber.selfIntroduce();

        Soldier soldier = new Soldier("杜甫",1);
        soldier.selfIntroduce();
        soldier.defend(hunter,robber,farmer);



    }
}
